#pragma once
#include  "Log.h"

class CObject
{
public:
	CObject(void){};
	virtual ~CObject(void) {};

	void AddRef() {m_nRefCount++;};
	void Release() {m_nRefCount--;};
	BOOL IsReference() { return m_nRefCount > 0;};
public:
	int m_nRefCount;
};